<html><body><%

println("<h1>Welcome to webapp-groovy</h1>")
println("<ul>")
new File(request.getRealPath("/")).eachFile{ f ->
	if (f.name =~ /\.html|\.groovy/) {
		println("<li><a href='${application.contextPath}/${f.name}'>${f.name}</a></li>")
	}
}
println("</ul>")
println("<p style='font-size: small'>CreatedBy: Zemian Deng  <a href='mailto:saltnlight5@gmail.com'>&lt;saltnlight5@gmail.com&gt;</a></p>")
%></body></html> 